package com.gugee.ins.common.dal.service.dic;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.dic.InsDicLocation;

import java.util.List;

/**
 * InsDicLocationDao
 * @author XiGua
 */
public interface InsDicLocationDao extends IService<InsDicLocation> {

    /**
     * 根据 截取cityName获得的region搜索国家名称
     * @param region
     * @return
     */
    List<String> findNationByRegion(String region);

    /**
     * 根据 uid 查找location关系表 映射国家名称
     * @param uid
     * @return
     */
    List<String> findNationByUid(long uid);
}
